<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/platform/include/include.jsp"%>
<%@page import="com.zx.map.service.model.MerchantInfoModel"%>
<% 
String custModel=(String)request.getAttribute("success"); 
String custModel12=(String)request.getAttribute("success");
%>
<html>
<head>
<TITLE><c:out value="${_LOGONUSER_.MANAGETITILE}" /></TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<%@ include file="/jsp/platform/include/header.jsp"%>
</HEAD>
<BODY>
	<DIV class="all">
		<%@ include file="/jsp/platform/include/head.jsp"%>
		<%@ include file="/jsp/platform/include/menu.jsp"%>
		<DIV class="mains">
			<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
				<TBODY>
					<TR valign="top">
						<%@ include file="/jsp/platform/include/mainLeft.jsp"%>
						<TD>
							<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
								<TBODY>
									<TR>
										<TD>
											<TABLE width="180" border="0" cellspacing="0" cellpadding="0">
												<TBODY>
													<TR>
														<TD width="7"><IMG width="7" height="36" alt=""
															src="<%=request.getContextPath()%>/images/pages_l.jpg">
														</TD>
														<TD align="center"
															background="<%=request.getContextPath()%>/images/pages_bg.jpg">
															<SPAN class="f_tit1">操作员管理</SPAN></TD>
														<TD width="7"><IMG width="7" height="36" alt=""
															src="<%=request.getContextPath()%>/images/pages_r.jpg">
														</TD>
													</TR>
												</TBODY>
											</TABLE></TD>
									</TR>
								</TBODY>
								<TR>
									<TD>
										<div class="pages_con">
											<!--创建页面-->

								<TR>
									<TD>
										<div class="pages_con">
											

												<div class="pages_con_20">

													<TABLE class="table" style="font-size:12px;">

														<THEAD style="color:#333">
															<TBODY>
																<TR>
																	<TD><span class="tdbold">基本信息</span></td>
																</tr>
																<TR>
																	<TD>
																		<DIV class="transaction_external">
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">所在省份：</SPAN>
																				<INPUT name="merchantProvince" value=" ${model.merchantProvince}"
																					class="txtbox_cz txtbox_cz_color input_change"  disabled="disabled"
																					id="merchantProvince" type="text"><span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label " 
																					style="width:120px;text-align:right;">所在城市：</SPAN>
																					<INPUT name="merchantCity"   disabled="disabled"
																					value=" ${model.merchantCity}" 
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="merchantCity" type="text"><span
																						class="reds f_l">*</span>
																			</DIV>

																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">商户名称：</SPAN>
																				<INPUT name="merchantName"  disabled="disabled" value=" ${model.merchantName}" 
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="merchantName" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">经营地址：</SPAN>
																					<INPUT name="merchantAddr"  disabled="disabled"  value=" ${model.merchantAddr}" 
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="merchantAddr" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>

																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">法人姓名：</SPAN>
																				<INPUT name="legalName"  disabled="disabled"
																				value=" ${model.legalName}" 
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="legalName" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">法人证件号：</SPAN>
																					<INPUT name="legalIdentityno"  disabled="disabled"
																					value=" ${model.legalIdentityno}"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="legalIdentityno" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">经营范围：</SPAN>
																				<INPUT name="bussinessScope"  disabled="disabled"
																				   value=" ${model.bussinessScope}"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="bussinessScope" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">联系电话：</SPAN>
																					<INPUT name="telephone"  disabled="disabled"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="telephone" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																		</DIV>
																	</TD>
																</TR>
																<TR>
																	<TD><span class="tdbold">账户信息</span></td>
																</tr>
																<TR>
																	<TD>
																		<DIV class="transaction_external">
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">系统账号：</SPAN>
																				<INPUT name="sysAccount"  disabled="disabled"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="sysAccount" type="text"> <span
																					class="reds f_l">*</span>
																			</DIV>
																		</DIV>
																		<DIV class="clearfix"></DIV>
																	</TD>
																</TR>
																<TR>
																	<TD><span class="tdbold">结算信息</span></td>
																</tr>
																<TR>
																	<TD>
																		<DIV class="transaction_external">
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">开户行：</SPAN> <INPUT
																					name="depositBank"  disabled="disabled"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="depositBank" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">开户行支行：</SPAN>
																					<INPUT name="depositBankbranch"  disabled="disabled"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="depositBankbranch" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">开户名：</SPAN> <INPUT
																					name="bankUsrname"  disabled="disabled"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="bankUsrname" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">开户账号：</SPAN>
																					<INPUT name="bankAccount"  disabled="disabled"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="bankAccount" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">T+O额度：</SPAN>
																				<INPUT name="transAmt"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="transAmt" type="text"> <span
																					class="reds f_l">万元</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																		</DIV>
																	</TD>
																</TR>
																<TR>
																	<TD><span class="tdbold">证件信息</span></td>
																</tr>
																<TR>
																	<TD>
																		<DIV class="transaction_external">
																			<DIV class="clearfix" id="file1Div" name="fileDiv">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">身份证和信用卡：</SPAN>
																					<div><IMG  width="300" height="400"  alt="身份证和信用卡"  style="cursor:pointer"
																				 src="${_LOGONUSER_.IMAGESETTLEPATH}/${model1.merchantInfoModel.sysAccount}/${model1.legalIndentityImg}"></div>
																			</DIV>
																			<br/>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix" id="file9Div" name="fileDiv">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">手持身份证半身照：</SPAN>
																				<div><IMG  width="300" height="400"  alt="手持身份证半身照" style="cursor:pointer"
																				src="${_LOGONUSER_.IMAGESETTLEPATH}/${model1.merchantInfoModel.sysAccount}/${model1.holdIndentityCard}"></div>
																			</DIV>
																				<DIV class="clearfix"></DIV>
																				
																			</DIV>
																	</TD>
																</TR>
															</TBODY>
													</TABLE>
												</div>
										</div></TD>
								</TR>
								<!--结束-->
							</TABLE></TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>

    
		<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
			<TBODY>
				<TR>
					<TD width="5" bgcolor="#f1fcfe"><IMG width="5" height="5"
						src="<%=request.getContextPath()%>/images/footer_l.jpg">
					</TD>
					<TD bgcolor="#f1fcfe">&nbsp; <br />
					</TD>
					<TD width="5" bgcolor="#f1fcfe"><IMG width="5" height="5"
						src="<%=request.getContextPath()%>/images/footer_r.jpg">
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		<%@ include file="/jsp/platform/include/foot.jsp"%>
</BODY>
</HTML>
<script type="text/javascript">
function myparser(s) {
	if (!s)
	return new Date();
	var ss = (s.split('-'));
	var y = parseInt(ss[0], 10);
	var m = parseInt(ss[1], 10);
	var d = parseInt(ss[2], 10);
	if (!isNaN(y) && !isNaN(m) && !isNaN(d)) {
		return new Date(y, m - 1, d);
	} else {
		return new Date();
	}
}
$(window).bind("load",function(){
      var merchantType = "${model.merchantType}";
     	$("div[name='fileDiv']").hide();
     	if(merchantType == "1"||merchantType=="2"){
     	  $("#file1Div").show();
     	  $("#file9Div").show();
     	}else if(merchantType == "3"){
     	  $("#file1Div").show();
     	  //$("#file2Div").show();
     	  $("#file3Div").show();
     	  $("#file4Div").show();
     	  $("#file5Div").show();
     	  $("#file6Div").show();
     	  //$("#file7Div").show();
     	  $("#file8Div").show();
     	}
  });
</script>
